package com.neusoft.neuiotms.dcom.service;


import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.bean.TreeBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.KnowledgeTypeDTO;

public interface KnowledgeTypeService {

    List<KnowledgeTypeDTO> findAll();

    Page<KnowledgeTypeDTO> search(Pageable pageable, Searchable searchable);

    KnowledgeTypeDTO create(final KnowledgeTypeDTO dto);

    KnowledgeTypeDTO update(final Long id, final KnowledgeTypeDTO dto);

    KnowledgeTypeDTO details(final Long id);

    void delete(final Long id);

    List<TreeBean> tree();

}
